package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.ChannelFreeShippingActivityProduct;

import java.util.List;

public interface ChannelFreeShippingActivityProductService extends IService<ChannelFreeShippingActivityProduct> {

    /**
     * 功能描述: 获取满额包邮设置的商品id
     * @Param: [activityIds]
     * @Return: java.util.List<java.lang.Integer>
     * @Author: wangzh
     * @Date: 2022/12/30 13:41
     */
    List<Integer> getProductIds(List<Integer> activityIds);

    /**
     * 功能描述: 删除指定活动id的商品
     * @Param: [activityId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2022/12/30 14:16
     */
    Boolean removeProductByActivityId(Integer activityId);

    /**
     * 功能描述: 获取商品信息
     * @Param: [activityIds]
     * @Return: java.util.List<com.zbkj.crmeb.store.model.ChannelFreeShippingActivityProduct>
     * @Author: wangzh
     * @Date: 2022/12/30 17:05
     */
    List<ChannelFreeShippingActivityProduct> getList(List<Integer> activityIds);

}
